'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _InfiniteScroll = require('./directives/InfiniteScroll');

var _InfiniteScroll2 = _interopRequireDefault(_InfiniteScroll);

var _InfiniteScrollDisabled = require('./directives/InfiniteScrollDisabled');

var _InfiniteScrollDisabled2 = _interopRequireDefault(_InfiniteScrollDisabled);

var _InfiniteScrollDistance = require('./directives/InfiniteScrollDistance');

var _InfiniteScrollDistance2 = _interopRequireDefault(_InfiniteScrollDistance);

var _BuryingPointData = require('./directives/BuryingPointData');

var _BuryingPointData2 = _interopRequireDefault(_BuryingPointData);

var _BuryingPointTrigger = require('./directives/BuryingPointTrigger');

var _BuryingPointTrigger2 = _interopRequireDefault(_BuryingPointTrigger);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = {
  install: function install(Vue, options) {
    var directives = {
      InfiniteScroll: _InfiniteScroll2.default,
      InfiniteScrollDisabled: _InfiniteScrollDisabled2.default,
      InfiniteScrollDistance: _InfiniteScrollDistance2.default,
      BuryingPointData: _BuryingPointData2.default,
      BuryingPointTrigger: _BuryingPointTrigger2.default
    };
    Object.keys(directives).forEach(function (key) {
      directives[key].$options = options;
      Vue.directive(key, directives[key]);
    });
  }
};